package com.meilai.project.controller.web.adMake.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 新增广告制作单的参数
 *
 * @Author yxg
 * @Date 2022/8/3 0:58
 */
@Data
@ApiModel
public class BillAdMakeCreateForDeliverParams {

    @ApiModelProperty(value = "供应商id，对应supplier的id")
    private Long supplier_id;

    @ApiModelProperty(value = "是否为小样配送，0:否，1:是")
    private Integer sample;

    @ApiModelProperty(value = "配送方式，1：供应商配送，2：自提，3：跑腿")
    private Integer type;

    @ApiModelProperty(value = "跑腿平台id，对应dictionary的id")
    private Long run_id;

    @ApiModelProperty(value = "跑腿费用")
    private BigDecimal run_cost;

    @ApiModelProperty(value = "配送地址")
    private String address;

    @ApiModelProperty(value = "期望送达时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime hope_time;

    @ApiModelProperty(value = "备注")
    private String memo;

}
